package com.kurancy.paypal.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class KurancyPaypalConfig {
	
	@Value("${${KURANCY_ENV}.paypal.return.url}")
    private String returnUrl;
	
	@Value("${${KURANCY_ENV}.paypal.cancel.url}")
    private String cancelUrl;
	
	@Value("${${KURANCY_ENV}.paypal.ipn.url}")
	private String ipnUrl;
	
	@Value("${${paypal.env}.paypal.api.user.1}")
	private String paypalUser1;
	
	@Value("${${paypal.env}.paypal.api.user.2}")
	private String paypalUser2;
	
	@Value("${${paypal.env}.paypal.api.username}")
	private String paypalApiUsername;
	
	@Value("${${paypal.env}.paypal.api.password}")
	private String paypalApiPassword;
	
	@Value("${${paypal.env}.paypal.application.id}")
	private String paypalApplicationId;
	
	@Value("${${paypal.env}.paypal.signature}")
	private String paypalSignature;
	
	@Value("${${paypal.env}.paypal.api.email}")
	private String paypalApiEmail;
	
	@Value("${${paypal.env}.paypal.pay.url}")
	private String paypalPaymentsUrl;
	
	public String getPaypalApplicationId() {
		return paypalApplicationId;
	}

	public String getIpnUrl() {
		return ipnUrl;
	}

	public String getReturnUrl() {
		return returnUrl;
	}

	public String getCancelUrl() {
		return cancelUrl;
	}

	public String getPaypalUser1() {
		return paypalUser1;
	}
	
	public String getPaypalUser2() {
		return paypalUser2;
	}

	public String getPaypalApiUsername() {
		return paypalApiUsername;
	}

	public String getPaypalApiPassword() {
		return paypalApiPassword;
	}

	public String getPaypalSignature() {
		return paypalSignature;
	}

	public String getPaypalApiEmail() {
		return paypalApiEmail;
	}

	public String getPaypalPaymentsUrl() {
		return paypalPaymentsUrl;
	}
}
